package com.cloud.photo.album.persist.dao;

import java.util.Map;

public interface Dao<T> {

	T[] select(Map<String, String> map);
 	
	T selectObject(T t);
	
	int update(T t);
	
	int add(T t);
	
	int deleteById(int id);
	
	T[] selectObjectList(T t);
}
